package com.dragon.mylibrary.info;


import com.dragon.utilslibrary.dblib.annotion.DbTable;

/**
 * 设备-闹钟
 */
@DbTable("t_alarm")
public class AlarmInfo  {

    // 闹钟id
    public Integer alarmId;
    // 闹钟名称
    public String name;
    // 时间（08:00）
    public String time;
    // 频率重复，"1111111"
    public String frequency;
    // 是否开启
    public Integer isOpen;
    // 间隔
    public Integer interval;

    public Integer getAlarmId() {
        return alarmId;
    }

    public void setAlarmId(Integer alarmId) {
        this.alarmId = alarmId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    public Integer getInterval() {
        return interval;
    }

    public void setInterval(Integer interval) {
        this.interval = interval;
    }

    @Override
    public String toString() {
        return "AlarmInfo{" +
                "alarmId='" + alarmId + '\'' +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", frequency='" + frequency + '\'' +
                ", isOpen=" + isOpen +
                ", interval=" + interval +
                "} " + super.toString();
    }

}
